package com.song.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**球员分页查询数据分装
 * @author song
 */
public class PlayerQueryVO {
        private String teamName;
        private String playerName;
        private Integer playerNum;
        private String location;
        @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        private Date birthday;
        private String nationality;
        private Double height;
        private Double weight;
        private Double salary;
        private Integer status;

        public String getTeamName() {
                return teamName;
        }

        public void setTeamName(String teamName) {
                this.teamName = teamName;
        }

        public String getPlayerName() {
                return playerName;
        }

        public void setPlayerName(String playerName) {
                this.playerName = playerName;
        }

        public Integer getPlayerNum() {
                return playerNum;
        }

        public void setPlayerNum(Integer playerNum) {
                this.playerNum = playerNum;
        }

        public String getLocation() {
                return location;
        }

        public void setLocation(String location) {
                this.location = location;
        }

        public Date getBirthday() {
                return birthday;
        }

        public void setBirthday(Date birthday) {
                this.birthday = birthday;
        }

        public String getNationality() {
                return nationality;
        }

        public void setNationality(String nationality) {
                this.nationality = nationality;
        }

        public Double getHeight() {
                return height;
        }

        public void setHeight(Double height) {
                this.height = height;
        }

        public Double getWeight() {
                return weight;
        }

        public void setWeight(Double weight) {
                this.weight = weight;
        }

        public Double getSalary() {
                return salary;
        }

        public void setSalary(Double salary) {
                this.salary = salary;
        }

        public Integer getStatus() {
                return status;
        }

        public void setStatus(Integer status) {
                this.status = status;
        }

        @Override
        public String toString() {
                return "PlayerQueryVO{" +
                        "teamName='" + teamName + '\'' +
                        ", playerName='" + playerName + '\'' +
                        ", playerNum=" + playerNum +
                        ", location='" + location + '\'' +
                        ", birthday=" + birthday +
                        ", nationality='" + nationality + '\'' +
                        ", height=" + height +
                        ", weight=" + weight +
                        ", salary=" + salary +
                        ", status=" + status +
                        '}';
        }
}
